import edu.stanford.prpl.app.prpltalk.ui.PrPlTalkGUI;
import edu.stanford.prpl.common.PRPLProperties;

public class Driver {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		if (args.length > 0) {
			try {
				PRPLProperties.loadProperties(args[0]);
			} catch (Exception e) {
				e.printStackTrace();
			}
		}

		try {
			PrPlTalkGUI prplTalkGUI = new PrPlTalkGUI();
			prplTalkGUI.start();
		} catch (Exception e) {
			e.printStackTrace();
			System.exit(-1);
		}

	}

}
